package com.hyd.admin.role.service.impl;

import java.math.BigDecimal;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hyd.admin.role.domain.Role;
import com.hyd.admin.role.mapper.RoleMapper;
import com.hyd.admin.role.service.IRoleService;

@Service
public class RoleServiceImpl implements IRoleService {

	@Autowired
	RoleMapper roleMapper;

	@Override
	public List<Role> selectRoleListByResource(BigDecimal resourceId) {
		return roleMapper.selectRoleListByResource(resourceId);
	}

}
